.text-full-parent{
	font-family: inherit;
	font-weight: inherit;
	font-style: inherit;
	font-size: inherit;
	color: inherit;
}
.font-parent{
	font-family: inherit;
}
//字体对齐
@each $textalign in (left,center,right,justify){
	.text-#{$textalign}{
		text-align:$textalign;
	}
};

//文本溢出
.text-overflow{
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.text-overflow-ellipsis{
	text-overflow: ellipsis;
}
.text-overflow-clip{
	text-overflow: clip;
}
//换行
$textwrap:(
	normal:normal,
	break:break-word
);
@each $key,$value in $textwrap {
	.overflow-wrap-#{$key}{
		overflow-wrap: $value
	}
	.word-wrap-#{$key}{
		word-wrap: $value
	}
}

//垂直对齐
$verticalalign:(
  baseline:baseline,
  top:top,
  middle:middle,
  bottom:bottom,
  ext-top:text-top,
  text-bottom:ext-bottom
);
@each $key,$value in $verticalalign {
  .v-#{$key}{
     vertical-align:$value;
  }
};





//字体序列
.font-sans{
	font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}	
.font-serif{
	font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
}	
.font-mono{
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

//字体平滑度

.antialiased{
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.subpixel-antialiased{
	-webkit-font-smoothing: auto;
	-moz-osx-font-smoothing: auto;
}
//字体样式
.italic{
	font-style: italic;
}	
.not-italic{
	font-style: normal;
}
.text-style-parent{
	font-style: inherit;
}	



$base-font-size:1rem;
//字体大小
$font-sizes:(
	'xs':0.7692rem,

	'sm':0.9231rem,

	'0-25':0.25rem,

	'0-5':0.5rem,

	'0-75':0.75rem,

	'0-95':0.95rem,
	
	'1':1rem,

	'1-125':1.125rem,

	'1-25':1.25rem,

	'1-5':1.5rem,

	'1-75':1.75rem,

	'1-875':1.875rem,

	'2':2rem,

	'2-25':2.25rem,

	'3':3rem,

	'parent':inherit
);

@each $sizeKey,$size in $font-sizes{
	.text-#{$sizeKey}{
		font-size:$size;
	}
}	


//行高
$line-height:(
	'xs':0.7692rem,

	'sm':0.9231rem,

	'0-25':0.25rem,

	'0-5':0.5rem,

	'0-75':0.75rem,
	
	'0-95':0.95rem,	

	'1':1rem,

	'1-125':1.125rem,

	'1-25':1.25rem,

	'1-5':1.5rem,
	
	'1-75':1.75rem,

	'1-875':1.875rem,

	'2':2rem,

	'2-25':2.25rem,

	'3':3rem,

	'parent':inherit,
	none:1,
	tight:1.25,
	snug:1.375,
	normal:1.5,
	relaxed:1.625,
	loose:2,

	18:18px
);

@each $sizeKey,$size in $line-height {
	.line-#{$sizeKey}{
		line-height:$size;
	}
}	


$fontweight:(
	bold:bold,
	100:100,
	200:200,
	300:300,
	400:400,
	500:500,
	600:600,
	700:700,
	800:800,
	900:900,
	normal:normal
);
@each $sizeKey,$size in $fontweight {
	.font-#{$sizeKey}{
		font-weight:$size
	}
}	


//控制数字变形的功能类

$fontvariantnumeric:(
	normal:normal,
	ordinal:ordinal,
	zero:slashed-zero,
	lining:lining-nums,
	oldstyle:oldstyle-nums,
	proportional:proportional-nums,
	tabular:tabular-nums,
	diagonal:diagonal-fractions,
	stacked:stacked-fractions,

);
@each $Key,$size in $fontvariantnumeric {
	.fontnumber-#{$Key}{
		font-variant-numeric:$size
	}
}

//字母间距
$letterspacing:(
	tighter:-0.05em,
	tight:-0.025em,
	normal: 0em,
	wide:0.025em,
	wider:0.05em,
	widest:0.1em,
);
@each $Key,$size in $letterspacing {
	.tracking-#{$Key}{
		letter-spacing:$size
	}
}

//列表项标记类型

$fontvariantnumeric:(
	none:none,
	disc:disc,
	decimal:decimal,
);
@each $sizeKey,$size in $fontweight {
	.list-#{$sizeKey}{
		list-style-type:$size
	}
}

//列表项标记位置
@each $Key in (inside,outside){
	.list-#{$Key}{
		list-style-position:$Key
	}
}

//文本装饰
@each $Key in (underline,line-through,none){
	.text-decoration-#{$Key}{
		text-decoration:$Key
	}
}

//文本转换
@each $Key in (uppercase,lowercase,capitalize,none){
	.text-transform-#{$Key}{
		text-transform:$Key
	}
}


//空格
$whitespace:(
  normal: normal,
  nowrap: nowrap,
  pre: pre,
  pre-line: pre-line,
  pre-wrap: pre-wrap
);
@each $key,$value in $whitespace{
  .whitespace-#{$key}{
    white-space:$value
  }
}
//文本换行

.break-normal{
  overflow-wrap: normal;
  word-break: normal;
}	
.break-words{
  overflow-wrap: break-word;
}	
.break-all{
  word-break: break-all;
}	


